package com.qianli.user.service;

import com.qianli.user.domain.model.auth.Customer;
import com.qianli.user.enums.UserAuthEnum;
import com.qianli.user.enums.UserAuthStatusEnum;
import com.qianli.user.ro.auth.UserAuthStatusRO;

/**
 * name:认证查询
 * auth:ting.li@qianli-inc.com
 * date:2018/2/22 17:06
 * version: v1.0.0
 **/
public interface UserAuthService {
    /**
     * 卡是否被该平台其他人绑定过
     *
     * @param userCode
     * @param cardNo
     * @param biz
     * @param appCode
     * @return
     */
    Boolean isBankBinded(String userCode, String cardNo, Integer biz, String appCode);


    /**
     * 实名认证服务
     * @param customer
     */
    void authCustomer(Customer customer);

    Boolean updateUserAuthStatus(String userCode, UserAuthStatusEnum userAuthStatusEnum, UserAuthEnum userAuthEnum);

    UserAuthStatusRO getUserAuthStatus(String userCode);


}
